package com.llyb.tingshu.album.client.impl;


import com.llyb.tingshu.album.client.TrackInfoFeignClient;
import com.llyb.tingshu.common.result.Result;
import com.llyb.tingshu.model.album.TrackInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class TrackInfoDegradeFeignClient implements TrackInfoFeignClient {

    /**
     * 获取声音信息
     *
     * @param id
     * @return
     */
    @Override
    public Result<TrackInfo> getTrackInfo(Long id) {
        log.error("TrackInfoDegradeFeignClient: 获取声音信息失败");
        return null;
    }

    /**
     * 批量获取下单付费声音列表
     *
     * @param trackId
     * @param trackCount
     * @return
     */
    @Override
    public Result<List<TrackInfo>> findPaidTrackInfoList(Long trackId, Integer trackCount) {
        log.error("TrackInfoDegradeFeignClient: 批量获取下单付费声音列表失败");
        return null;
    }
}
